SkyDemon Forums

Route change bug

http://23588_2017.hs2.instantasp.net/Topic1583.aspx

By stuartforrest - 1/7/2011 9:35:02 PM

I just opened an old route and went to change the route level from the default route height and when I unticked the box to activate typing in a new level I got and unhandled exception and this is the error below. It is todays beta.



See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.



************** Exception Text **************

System.ArgumentException: TimeSpan does not accept floating point Not-a-Number values.

at System.TimeSpan.Interval(Double value, Int32 scale)

at Divelements.Aviation.Routing.FlightModelUtilities.ProcessIntermediateClimbOrDescent(List`1 entries, Int32 targetIndex, Boolean climb, IFlightModelDataSupply dataSupply, FlightPerformanceClimbProfile climbProfile, FlightPerformanceDescentProfile descentProfile)

at Divelements.Aviation.Routing.FlightModelUtilities.ProcessIntermediateClimbsAndDescents(List`1 entries, IFlightModelDataSupply dataSupply, FlightPerformanceClimbProfile climbProfile, FlightPerformanceDescentProfile descentProfile)

at Divelements.Aviation.Routing.FlightModelUtilities.RunFlightModel(RhumbLineLeg[] legs, IFlightModelDataSupply dataSupply, FlightPerformanceClimbProfile climbProfile, FlightPerformanceDescentProfile descentProfile)

at Divelements.Aviation.Routing.Journey.CreateModel()

at Divelements.Aviation.Routing.Journey.get_Model()

at Divelements.Aviation.Routing.PlannedRouteParameters..ctor(Journey journey, GeometryEntity[] airspace, Entity[] positionedEntities)

at Divelements.Aviation.FlightPlanner.Routing.x623a54d0e478ee0f.xa3c6ce19704d4032()

at Divelements.Aviation.FlightPlanner.Routing.x623a54d0e478ee0f.x2f58c73044db3fb6(Object xe0292b9ed559da7d, RouteChangeEventArgs xfbf34718e704c6bc)

at System.EventHandler`1.Invoke(Object sender, TEventArgs e)

at Divelements.Aviation.Routing.Journey.OnRouteChanged(RouteChangeEventArgs e)

at Divelements.Aviation.Routing.Journey.EndBulkChanges()

at Divelements.Aviation.FlightPlanner.Routing.x8f2e50e5eedec15c.x1ab74ffda0bc2fb6(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)

at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)





************** Loaded Assemblies **************

mscorlib

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4952 (win7RTMGDR.050727-4900)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

SkyDemon

Assembly Version: 1.4.5.20583

Win32 Version:

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/SkyDemon.exe

----------------------------------------

Divelements.SandGrid

Assembly Version: 2.2.4.1

Win32 Version: 2.2.4.1

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/Divelements.SandGrid.DLL

----------------------------------------

System.Windows.Forms

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Drawing

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

SandDock

Assembly Version: 3.0.6.1

Win32 Version: 3.0.6.1

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/SandDock.DLL

----------------------------------------

Divelements.Aviation

Assembly Version: 1.0.4024.20581

Win32 Version: 1.0.4024.20581

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/Divelements.Aviation.DLL

----------------------------------------

Divelements.Mapping

Assembly Version: 1.0.4024.20581

Win32 Version: 1.0.4024.20581

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/Divelements.Mapping.DLL

----------------------------------------

System.Xml

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

SandBar

Assembly Version: 1.4.3.1

Win32 Version: 1.4.3.1

CodeBase: file:///C:/Program%20Files/Divelements%20Limited/SkyDemon/SandBar.DLL

----------------------------------------

Accessibility

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

----------------------------------------

System.Configuration

Assembly Version: 2.0.0.0

Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------



************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.



For example:











When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.




By stuartforrest - 1/14/2011 11:00:46 PM

Great